package com.bifang.common.constant.enums.dict;

import com.bifang.common.interfaces.DictType;

/**
 * @Author: chenzh @Date 2019/10/30 @Description 角色字典类型
 */
public enum RoleDictEnum implements DictType {
    ROLETYPE("roleType", "ROLETYPE", "角色类型");
    /** 属性名称 */
    private String propertyName;
    /** 字典类型 */
    private String dictField;
    /** 字典类型名称 */
    private String feildName;

    RoleDictEnum(String propertyName, String dictField, String feildName) {
        this.propertyName = propertyName;
        this.dictField = dictField;
        this.feildName = feildName;
    }

    @Override
    public String getPropertyName() {
        return propertyName;
    }

    @Override
    public String getFieldName() {
        return feildName;
    }

    @Override
    public String getDictField() {
        return dictField;
    }
}
